package com.video.moderation.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

import java.util.Date;

@Entity
@Table(name = "sys_user")
@Data
public class SysUser {

    @Id
    @Column(name = "user_id")
    private Long userId;

    @Column(name = "account")
    private String account;

    @Column(name = "password")
    private String password;

    @Column(name = "nickname")
    private String nickname;

    @Column(name = "gender")
    private String gender;

    @Column(name = "email")
    private String email;

    @Column(name = "avatar")
    private String avatar;

    @Column(name = "introduction")
    private String introduction;

    @Column(name = "fans_count")
    private Long fansCount;

    @Column(name = "followers_count")
    private Long followersCount;

    @Column(name = "status")
    private String status;

    @Column(name = "login_ip")
    private String loginIp;

    @Column(name = "login_time")
    private Date loginTime;

    @Column(name = "register_time")
    private Date registerTime;

    @Column(name = "modify_time")
    private Date modifyTime;

}
